Namespace - LJCNetCommon
Parameters
value - The value object.
Returns
The byte value or the byte default if the object is null.
Also returns false if the object is not type "byte".
Syntax
| C# |
|
public static Byte GetByte(Object value)
|
Gets a byte value from an object.
Example
| C# |
using LJCNetCommon;
private static void GetByte()
{
byte setup = Convert.ToByte('A');
object obj = setup;
byte value = NetCommon.GetByte(obj);
var result = value.ToString();
}
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.